io.write('PingXinSiBian a=')
a=io.read()
io.write('h=')
h=io.read()

for i=1,h-1 do 
	io.write(' ')
end

for i=1,a do 
	io.write('\\') 
end
io.write('\n')


for i=1,h-2 do
        for i=1,h-1-i do 
		io.write(' ')
	end
	for j=1,a do
--print('j=' ..j .. ' a=' .. a);
		if(j==1) then
			io.write(j)
		elseif(j==a) then
			io.write('j')
		else 
			io.write(j)
		end
       	end
	io.write('\n')
end

for i=1,a do 
	io.write('\\') 
end
io.write('\n')

